import React from 'react';
import { Icon } from 'antd';
import styles from './Top.less';

const Top = (props) => {
  return (
    <div>
      <div className={styles.logo}>
        Kind Admin
      </div>
      <Icon className={styles.trigger} type={props.collapsed ? 'menu-unfold' : 'menu-fold'} onClick={props.onClick} />
    </div>
  );
};

Top.propTypes = {
};

export default Top;
